package com.rms.domain;

import java.util.ArrayList;
import java.util.List;

public class Job {

	private Integer id;

	private String name;

	private String description;

	private Double salary;

	private Integer companyId;

	private Company company;

	private List<ResumeJob> resumeJobs = new ArrayList<ResumeJob>();

	public Company getCompany() {
		return company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public List<ResumeJob> getResumeJobs() {
		return resumeJobs;
	}

	public void setResumeJobs(List<ResumeJob> resumeJobs) {
		this.resumeJobs = resumeJobs;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Double getSalary() {
		return salary;
	}

	public void setSalary(Double salary) {
		this.salary = salary;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public Job(String name, String description, Double salary, Integer companyId) {
		this.name = name;
		this.description = description;
		this.salary = salary;
		this.companyId = companyId;
	}

	public Job() {
	}

	@Override
	public String toString() {
		return "Job [id=" + id + ", name=" + name + ", description=" + description + ", salary=" + salary
				+ ", companyId=" + companyId + "]";
	}

}